package com.jspxcms.plug.service;

import com.jspxcms.common.orm.Limitable;
import com.jspxcms.common.orm.RowSide;
import com.jspxcms.plug.domain.PlugHospital;
import com.jspxcms.plug.domain.PlugHospitalDepartment;
import com.jspxcms.plug.domain.Resume;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;
import java.util.Map;

public interface PlugHospitalDepartmentService {
    public Page<PlugHospitalDepartment> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    public RowSide<PlugHospitalDepartment> findSide(Integer siteId, Map<String, String[]> params, PlugHospitalDepartment bean, Integer position, Sort sort);

    public List<PlugHospitalDepartment> findList(Integer[] siteId, Limitable limitable);

    public PlugHospitalDepartment get(Integer id);

    public PlugHospitalDepartment save(PlugHospitalDepartment bean, Integer siteId);

    public PlugHospitalDepartment update(PlugHospitalDepartment bean);

    public PlugHospitalDepartment delete(Integer id);

    public PlugHospitalDepartment[] delete(Integer[] ids);

    public List<PlugHospitalDepartment> findByHospitalId(Integer hospitalId);
}
